/*
 * @Author: your name
 * @Date: 2021-12-29 17:38:11
 * @LastEditTime: 2022-01-17 08:31:32
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \my-site\src\router\routes.js
 */
import Home from "@/views/home" //首页组件
import Blog from "@/views/blog" //文章组件
import About from "@/views/about" //关于我组件
import Message from "@/views/message" //留言板组件
import Project from "@/views/project" //项目与效果组件
import BlogDetail from "@/views/blog/components/blogDetail.vue"//文章详情页

export default[
    {name:"Home", path:"/", component:Home, meta:{title:"首页"}},
    {name:"Blog", path:"/article", component:Blog, meta:{title:"文章"}},
    {name:"CategoryBlog", path:"/article/cate/:categoryId", component:Blog,  meta:{title:"文章"}},
    {name:"BlogDetail", path:"/article/:id", component:BlogDetail,  meta:{title:"文章详情"}},
    {name:"About", path:"/about", component:About,  meta:{title:"关于我"}},
    {name:"Message", path:"/message", component:Message,  meta:{title:"留言板"}},
    {name:"Project", path:"/project", component:Project,  meta:{title:"项目"}},
]